package cn.hpclub.server.controller.admin.spreadmember;

import java.util.concurrent.ConcurrentHashMap;

import cn.hpclub.server.controller.admin.BaseAdminController;

import cn.hpclub.server.model.SpreadMemberReg;
import cn.hpclub.server.service.SpreadMemberRegService;
import cn.hpclub.server.util.QueryHelper;

public class SpreadMemberRegController extends BaseAdminController<SpreadMemberReg>{

    /**
     * @Title: list
     * @Description: 列表
     */
    public void list(){
        ConcurrentHashMap<String, String> searchInfo = getSearchInfo();
        QueryHelper helper = SpreadMemberRegService.service.getListHelper(searchInfo);
        findByPageForSearch(helper.getSelect(),helper.getSqlExceptSelect());
        render("/admin/spreadmember/register_list.tpl");
    }
}
